package com.newgd.blockchain.demo.repository;

import com.newgd.blockchain.demo.model.Trades;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * Created by Niki on 2018/4/14 9:36
 */
public interface TradesRepository{ //extends JpaRepository<Trades, Integer> {
//    @Query(nativeQuery = true, value = "from Trades o where o.date between ?1 and ?2")
//    List<Trades> findTradesByDate(Long begin, Long end);
}
